package cn.jiyun.springcloud_feign_consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

// @EnableEurekaClient // = @EnableDiscoveryClient
// @SpringBootApplication
@EnableFeignClients// 开启feign组件
// @EnableCircuitBreaker //开启熔断器 断路器
@SpringCloudApplication
public class SpringcloudFeignConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudFeignConsumerApplication.class, args);
    }

}
